package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品信息对象 tea_shop_commodity
 * 
 * @author ruoyi
 * @date 2023-12-31
 */
public class TeaShopCommodity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品编号 */
    private Long id;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 种类 */
    @Excel(name = "种类")
    private String type;

    /** 价格 */
    @Excel(name = "价格")
    private Long price;

    /** 价格 */
    @Excel(name = "成本")
    private Long cost;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }

    public Long getCost() {
        return cost;
    }

    public void setCost(Long cost) {
        this.cost = cost;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("picture", getPicture())
            .append("name", getName())
            .append("type", getType())
            .append("price", getPrice())
            .append("cost", getCost())
            .append("description", getDescription())
            .toString();
    }
}
